FROM registry.cn-shanghai.aliyuncs.com/fengzhihao/ubuntu:20.04

RUN mkdir -p /var/www/swagger/

ADD . /var/www/swagger/

WORKDIR /var/www/swagger/

RUN cnpm install

CMD node server

# docker build --rm -f "Dockerfile" -t xxx.com/platform/apidoc:1.0.0 "."
# docker run -p 3000:3000 -it --rm  xxx.com/platform/apidoc:1.0.0 /bin/bash

# docker push xxx.com/platform/apidoc:1.0.0